package com.nanhai.buddhist.college.module.collegebase.convert.teacherteachers;

import com.nanhai.buddhist.college.module.collegebase.controller.teacher.teacher.vo.AuthLoginRespVO;
import com.nanhai.buddhist.college.module.system.api.oauth2.dto.OAuth2AccessTokenRespDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface TeacherAuthConvert {
    TeacherAuthConvert INSTANCE = Mappers.getMapper(TeacherAuthConvert.class);

    AuthLoginRespVO convert(OAuth2AccessTokenRespDTO data);
}
